<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path;
%>
<script language="javascript" type="text/javascript">
	$(function(){
		$("#news-show-close").click(function(){
			$("#news-show-hide").hide("slow");
		});
	});
</script>
<div class="generalbox overview_block" id="news-show-hide">
	<div
		class="generalbox_header overview_veryunevenlargecolumn_width generalbox_header_heavy">
		<div class="box_leftheader generalbox_leftheader">
			<img class="inlineicon transparentpng" height="16" alt=""
				src="<%=basePath%>/images/document.png" width="16" />
			<a href="javascript:void()" id="newsControl">${news.title }</a>
		</div>
		<div id="news-show-close" style="float: right;margin-right: 5px">关闭</div>
		<div class="clearer"></div>
	</div>
	<div
		class="generalbox_body generalbox_background_white overview_veryunevenlargecolumn_width">
		<div class="singlecontent_block">
			<form method="post" action="<%=basePath%>/news/addNews" id="newsForm">
				<table width="100%" cellpadding="2" cellspacing="1" border="0">
					<tr>
						<td width="12%" class="pn-flabel pn-flabel-h">
							所属栏目：
						</td>
						<td colspan="1" width="20%" class="pn-fcontent">
							${news.newsSort.name }
						</td>
						<td width="12%" class="pn-flabel pn-flabel-h">
							作者：
						</td>
						<td colspan="1" width="20%" class="pn-fcontent">
							${news.author }
						</td>
						<td width="12%" class="pn-flabel pn-flabel-h">
							来源：
						</td>
						<td colspan="1" width="20%" class="pn-fcontent">
							${news.from }
						</td>
					</tr>
					<tr>
						<td width="12%" class="pn-flabel pn-flabel-h">
							简短标题：
						</td>
						<td width="20%" class="pn-fcontent">
							${news.shortTitle }
						</td>
						<td width="12%" class="pn-flabel pn-flabel-h">
							发布时间：
						</td>
						<td colspan="1" width="20%" class="pn-fcontent">
							${news.created }
						</td>
						<td width="12%" class="pn-flabel pn-flabel-h">
							Tag标签：
						</td>
						<td colspan="1" width="20%" class="pn-fcontent">
							${news.tag }
						</td>
					</tr>
					<tr>
						<td width="12%" class="pn-flabel">
							内容：
						</td>
						<td colspan="3" width="88%" class="pn-fcontent">
							${news.content }
						</td>
					</tr>
				</table>
			</form>
		</div>
	</div>
</div>
<br />
<br />